
<%@ page import="payroll.webapp.EmpSalaryDefinition" %>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <meta name="layout" content="main" />
        <g:set var="entityName" value="${message(code: 'empSalaryDefinition.label', default: 'EmpSalaryDefinition')}" />
        <title><g:message code="default.show.label" args="[entityName]" /></title>
    </head>
    <body>
        <div class="nav">
            <span class="menuButton"><a class="home" href="${createLink(uri: '/adminPage')}">Home</a></span>
            <span class="menuButton"><g:link class="list" action="list"><g:message code="default.list.label" args="[entityName]" /></g:link></span>
            <span class="menuButton"><g:link class="create" action="create"><g:message code="default.new.label" args="[entityName]" /></g:link></span>
        </div>
        <div class="body">
            <h1><g:message code="default.show.label" args="[entityName]" /></h1>
            <g:if test="${flash.message}">
            <div class="message">${flash.message}</div>
            </g:if>
            <div class="dialog">
                <table>
                    <tbody>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="empSalaryDefinition.id.label" default="Id" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: empSalaryDefinitionInstance, field: "id")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="empSalaryDefinition.empid.label" default="Empid" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: empSalaryDefinitionInstance, field: "empid")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="empSalaryDefinition.effectiveDate.label" default="Effective Date" /></td>
                            
                            <td valign="top" class="value"><g:formatDate date="${empSalaryDefinitionInstance?.effectiveDate}" /></td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="empSalaryDefinition.basicSalary.label" default="Basic Salary" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: empSalaryDefinitionInstance, field: "basicSalary")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="empSalaryDefinition.monthlyIncentives.label" default="Monthly Incentives" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: empSalaryDefinitionInstance, field: "monthlyIncentives")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="empSalaryDefinition.houseAllowance.label" default="House Allowance" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: empSalaryDefinitionInstance, field: "houseAllowance")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="empSalaryDefinition.otherAllowance.label" default="Other Allowance" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: empSalaryDefinitionInstance, field: "otherAllowance")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="empSalaryDefinition._13monthSalary.label" default="13month Salary" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: empSalaryDefinitionInstance, field: "_13monthSalary")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="empSalaryDefinition.totalSalary.label" default="Total Salary" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: empSalaryDefinitionInstance, field: "totalSalary")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="empSalaryDefinition.annualLeaves.label" default="Annual Leaves" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: empSalaryDefinitionInstance, field: "annualLeaves")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="empSalaryDefinition.sickLeaves.label" default="Sick Leaves" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: empSalaryDefinitionInstance, field: "sickLeaves")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="empSalaryDefinition.salCalcTypes.label" default="Sal Calc Types" /></td>
                            
                            <td valign="top" class="value"><g:link controller="salaryCalcTypes" action="show" id="${empSalaryDefinitionInstance?.salCalcTypes?.id}">${empSalaryDefinitionInstance?.salCalcTypes?.encodeAsHTML()}</g:link></td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="empSalaryDefinition.insuranceNumber.label" default="Insurance Number" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: empSalaryDefinitionInstance, field: "insuranceNumber")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="empSalaryDefinition.housingInsuranceNumber.label" default="Housing Insurance Number" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: empSalaryDefinitionInstance, field: "housingInsuranceNumber")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="empSalaryDefinition.employee.label" default="Employee" /></td>
                            
                            <td valign="top" class="value"><g:link controller="employee" action="show" id="${empSalaryDefinitionInstance?.employee?.id}">${empSalaryDefinitionInstance?.employee?.encodeAsHTML()}</g:link></td>
                            
                        </tr>
                    
                    </tbody>
                </table>
            </div>
            <div class="buttons">
                <g:form>
                    <g:hiddenField name="id" value="${empSalaryDefinitionInstance?.id}" />
                    <span class="button"><g:actionSubmit class="edit" action="edit" value="${message(code: 'default.button.edit.label', default: 'Edit')}" /></span>
                    <span class="button"><g:actionSubmit class="delete" action="delete" value="${message(code: 'default.button.delete.label', default: 'Delete')}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" /></span>
                </g:form>
            </div>
        </div>
    </body>
</html>
